import service  from "../utils/request";

export function newsList(data){
    return service({
        url:"/user/apiExtNews/list",
        method:"post",
        data
    })
}

export function newsCategoryList(data){
    return service({
        url:"/user/apiExtNewsCategory/list",
        method:"post",
        data
    })
}

export function articleAdd(data){
    return service({
        url:"/user/apiExtNews/save",
        method:"post",
        data
    })
}

export function articleInfo(params){
    return service({
        url:"/user/apiExtNews/info",
        method:"get",
        params
    })
}